What is the meaning of the word "journalist's privilege"?

Definitions:

  1. the right of a journalist to refuse to divulge sources of confidential information copy to clipboard noun
    • I had to invoke my journalist's privilege when asked about my sources. copy to clipboard